<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class Ad extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'ad';

    public function adPosition(){
        return $this->belongsTo(AdPosition::class,"pid","id");
    }
}
